package com.woniuxy.commentdao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 场馆评价表
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("comment")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评论id
     */
    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    /**
     * 场馆id
     */
    @TableField("venue_id")
    private Integer venueId;

    /**
     * 评论内容
     */
    @TableField("content")
    private String content;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 评论时间
     */
    @TableField("comment_time")
    private String commentTime;

    /**
     * 场馆回复
     */
    @TableField("reply")
    private String reply;

    /**
     * 评论图片
     */
    @TableField("comment_image")
    private String commentImage;

    /**
     * 订单号
     */
    @TableField("order_num")
    private String orderNum;

    /**
     * 评分
     */
    @TableField("rate")
    private Double rate;


}
